package com.ruoyi.system.domain.gallery;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.domain.zhuangxiumain.shopMain.SupplierInfo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 图库对象 gallery_info
 * 
 * @author 张少丛
 * @date 2020-11-30
 */
public class GalleryInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图库ID */
    private Long galleryInfoId;

    /** 装修公司ID */
    @Excel(name = "装修公司ID")
    private Long supplierId;
    private Long customerId;

    /** 标题 */
    @Excel(name = "标题")
    private String galleryInfoTitle;

    /** 内容 */
    @Excel(name = "内容")
    private String galleryInfoText;
    private String courseType;

    /** 图片 */
    @Excel(name = "图片")
    private String galleryInfoPic;
    private String shoucangshu;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Long galleryInfoFabulous;

    /** 收藏数 */
    @Excel(name = "收藏数")
    private Long galleryInfoCollection;

    /** 回复量 */
    @Excel(name = "回复量")
    private Long galleryInfoReply;

    /** 图库类型 */
    @Excel(name = "图库类型")
    private String galleryInfoType;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;

    private SupplierInfo supplierInfo;

    private String shopsName;

    private String galleryOriginalTitle;
    private String licenseUrl;

    private List<Long> supplierIds;

    public String getCourseType() {
        return courseType;
    }

    public void setCourseType(String courseType) {
        this.courseType = courseType;
    }

    public String getLicenseUrl() {
        return licenseUrl;
    }

    public void setLicenseUrl(String licenseUrl) {
        this.licenseUrl = licenseUrl;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Long customerId) {
        this.customerId = customerId;
    }

    public String getShoucangshu() {
        return shoucangshu;
    }

    public void setShoucangshu(String shoucangshu) {
        this.shoucangshu = shoucangshu;
    }

    public void setGalleryInfoId(Long galleryInfoId)
    {
        this.galleryInfoId = galleryInfoId;
    }

    public Long getGalleryInfoId() 
    {
        return galleryInfoId;
    }
    public void setSupplierId(Long supplierId) 
    {
        this.supplierId = supplierId;
    }

    public Long getSupplierId() 
    {
        return supplierId;
    }

    public String getGalleryInfoTitle() 
    {
        return galleryInfoTitle;
    }
    public void setGalleryInfoText(String galleryInfoText) 
    {
        this.galleryInfoText = galleryInfoText;
    }

    public String getGalleryInfoText() 
    {
        return galleryInfoText;
    }
    public void setGalleryInfoPic(String galleryInfoPic) 
    {
        this.galleryInfoPic = galleryInfoPic;
    }

    public String getGalleryInfoPic() 
    {
        return galleryInfoPic;
    }
    public void setGalleryInfoFabulous(Long galleryInfoFabulous) 
    {
        this.galleryInfoFabulous = galleryInfoFabulous;
    }

    public Long getGalleryInfoFabulous() 
    {
        return galleryInfoFabulous;
    }
    public void setGalleryInfoCollection(Long galleryInfoCollection) 
    {
        this.galleryInfoCollection = galleryInfoCollection;
    }

    public Long getGalleryInfoCollection() 
    {
        return galleryInfoCollection;
    }
    public void setGalleryInfoReply(Long galleryInfoReply) 
    {
        this.galleryInfoReply = galleryInfoReply;
    }

    public Long getGalleryInfoReply() 
    {
        return galleryInfoReply;
    }
    public void setGalleryInfoType(String galleryInfoType) 
    {
        this.galleryInfoType = galleryInfoType;
    }

    public String getGalleryInfoType() 
    {
        return galleryInfoType;
    }
    public void setModifiedTime(Date modifiedTime) 
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime() 
    {
        return modifiedTime;
    }

    public SupplierInfo getSupplierInfo() {
        return supplierInfo;
    }

    public void setSupplierInfo(SupplierInfo supplierInfo) {
        this.supplierInfo = supplierInfo;
    }

    public String getShopsName() {
        return shopsName;
    }

    public void setShopsName(String shopsName) {
        this.shopsName = shopsName;
    }

    public String getGalleryOriginalTitle() {
        return galleryOriginalTitle;
    }

    public void setGalleryOriginalTitle(String galleryOriginalTitle) {
        this.galleryOriginalTitle = galleryOriginalTitle;
    }

    public void setGalleryInfoTitle(String galleryInfoTitle) {
        this.galleryInfoTitle = galleryInfoTitle;
    }

    public List<Long> getSupplierIds() {
        return supplierIds;
    }

    public void setSupplierIds(List<Long> supplierIds) {
        this.supplierIds = supplierIds;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("galleryInfoId", getGalleryInfoId())
            .append("supplierId", getSupplierId())
            .append("galleryInfoTitle", getGalleryInfoTitle())
            .append("galleryInfoText", getGalleryInfoText())
            .append("galleryInfoPic", getGalleryInfoPic())
            .append("galleryInfoFabulous", getGalleryInfoFabulous())
            .append("galleryInfoCollection", getGalleryInfoCollection())
            .append("galleryInfoReply", getGalleryInfoReply())
            .append("galleryInfoType", getGalleryInfoType())
            .append("modifiedTime", getModifiedTime())
                .append("supplierInfo", getSupplierInfo())
                .append("shopsName", getShopsName())
                .append("galleryOriginalTitle", getGalleryOriginalTitle())
            .toString();
    }
}
